<ion-view view-title="车主评价" cache-view="false" ng-init="init()" hide-back-button="false">
  <ion-content class="gray_back">
    <section class="g_main">
      <div class="rate_warp">
        <ul>
          <li>
            <h4>评分</h4>

            <div style="height:44px;line-height: 41px;">
              <div class="ivu-rate"><input type="hidden" value="2.5">
                <div class="ivu-rate-star {{rate1}}" ng-click="setRate(1)"><span type="half" class="ivu-rate-star-content"></span></div>
                <div class="ivu-rate-star {{rate2}}" ng-click="setRate(2)"><span type="half" class="ivu-rate-star-content"></span></div>
                <div class="ivu-rate-star {{rate3}}" ng-click="setRate(3)"><span type="half" class="ivu-rate-star-content"></span></div>
                <div class="ivu-rate-star {{rate4}}" ng-click="setRate(4)"><span type="half" class="ivu-rate-star-content"></span></div>
                <div class="ivu-rate-star {{rate5}}" ng-click="setRate(5)"><span type="half" class="ivu-rate-star-content"></span></div>
              </div>
            </div>
            </p>
          </li>
          <li style="line-height: 44px;">
            <h4>评价</h4>
            <input type="text" ng-model="data.commentText" style="width: 70%;">
          </li>
        </ul>
        <div class="">
          <button class="btn_save" ng-click="saveRate()">提交评价</button>
        </div>
      </div>
    </section>

  </ion-content>
</ion-view>
